package CoreNRMSystem;
/**
 * Generated from IDL enum "NCLinkTypeType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class NCLinkTypeType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _VMSC = 0;
	public static final NCLinkTypeType VMSC = new NCLinkTypeType(_VMSC);
	public static final int _GMSC = 1;
	public static final NCLinkTypeType GMSC = new NCLinkTypeType(_GMSC);
	public static final int _TMSC = 2;
	public static final NCLinkTypeType TMSC = new NCLinkTypeType(_TMSC);
	public int value()
	{
		return value;
	}
	public static NCLinkTypeType from_int(int value)
	{
		switch (value) {
			case _VMSC: return VMSC;
			case _GMSC: return GMSC;
			case _TMSC: return TMSC;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _VMSC: return "VMSC";
			case _GMSC: return "GMSC";
			case _TMSC: return "TMSC";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected NCLinkTypeType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
